//
//  UIApplication+Extension.h
//  DianBo
//
//  Created by YangBo on 2018/12/11.
//  Copyright © 2018 微光. All rights reserved.
//

#import <UIKit/UIKit.h>
//#import "UIWindow+WGSafeArea.h"

NS_ASSUME_NONNULL_BEGIN

@interface UIApplication (Extension)

/**
 获取当前的keyWindow（Debug模式下避免获取成其他工具）
 */
+ (UIWindow *)getKeyWindow;

+ (UIViewController *)wg_rootViewController;

/**
 获取当前的导航栏

 @return 导航栏
 */
+ (UINavigationController *)currentNavigationController;

@end

NS_ASSUME_NONNULL_END
